<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <script src="./js/setRem.js"></script>
  <link rel="stylesheet" href="./css/base.css">
  <link rel="stylesheet" href="./css/index.css">
  <title>慢慢买-首页</title>
</head>

<body>
  <div class="mmb-layout">
    <!-- 头部 -->
    <div class="mmb-header">
      <a href="#" class="pull-left logo"><img src="./images/header_logo.png" alt=""></a>
      <a href="#" class="pull-right app"><img src="./images/header_app.png" alt=""></a>
    </div>
    <!-- 搜索区 -->
    <div class="mmb-search">
      <input type="text" class="search-input" placeholder="请输入你想比价的商品">
      <a href="#" class="search-btn">搜索</a>
    </div>
    <!-- 导航 -->
    <div class="mmb-nav">
      <ul class="clearfix">
        <li>
          <a href="#">
            <img src="./images/ic_bcj.png" alt="">
            <p>比价搜索</p>
          </a>
        </li>
      </ul>
    </div>
    <!-- 产品推荐 -->
    <div class="mmb-product">
      <div class="pro-title clearfix">
        <p class="pull-left">超值折扣推荐</p>
        <img src="http://www.zuyushop.com/wap/images/more.png" alt="" class="pull-right">
      </div>
      <div class="pro-main">
        <div class="item clearfix">
          <div class="img">
            <img
              src="http://cacheimg.manmanbuy.com/r_img/cacheimg.aspx?width=600&imgurl=http://a.manmanbuy.com:8013/cuxiaoPic/201610/201610001412282758.jpg">
          </div>

          <div class="content">
            <div class="content-title">
              <span>移动端凑单品：海天 鲜味 生抽1.28L</span>
              <span class="price">10.9元</span>
            </div>
            <div class="content-info clearfix">
              <span class="mall pull-left">京东商城 | 10-25 14:10</span>
              <span class="num pull-right">1</span>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- 更多优惠 -->
    <div class="mmb-more">
      <a href="#" class="more-btn">更多优惠信息<span>>></span></a>
    </div>
    <!-- 品牌排行 -->
    <div class="mmd-top clearfix">
      <p class="pull-left">品牌排名</p>
      <img src="http://www.zuyushop.com/wap/images/more.png" alt="" class="pull-right">
    </div>
    <!-- 底部栏 -->
    <div class="mmd-footer">
      <div class="footer-top">
        <a href="#" id="login">登录</a>
        <a href="#" id="resign">注册</a>
        <a href="#" class="sm-top"><img src="http://www.zuyushop.com/wap/images/top.jpg" alt="">返回顶部</a>
      </div>
      <div class="footer-bottom">
        <p><a href="#">手机APP下载</a><a href="#">慢慢买手机版</a> -- 掌上比价平台</p>
        <a href="#">m.manmanbuy.com</a>
      </div>
    </div>
  </div>

  <!-- 菜单导航模板引擎 -->
  <script type="text/html" id="tmp-nav">
    {{ each result v i}}
      {{ if i>7 }}
        <li class="hide">
          <a href="{{ v.titlehref}}" data-id={{ v.indexmenuId }}>
            {{@v.img}}
            <p>{{ v.name }}</p>
          </a>
        </li>
      {{ else }}
        <li>
          <a href="{{ v.titlehref}}" data-id={{ v.indexmenuId }}>
            {{@v.img}}
            <p>{{ v.name }}</p>
          </a>
        </li>
      {{ /if }}
    {{ /each }}
  </script>

  <!-- 商品推荐模板引擎 -->
  <script type="text/html" id="tmp-product">
    {{ each result v i}}
      <div class="item clearfix" data-id={{v.productId}}>
        <div class="img">
          {{@v.productImg2}}
        </div>

        <div class="content">
          <div class="content-title">
            <span>{{ v.productName }}</span>
            <span class="price">{{ v.productPinkage }}</span>
          </div>
          <div class="content-info clearfix">
            <span class="mall pull-left">{{ v.productFrom }} | {{ v.productTime }}</span>
            <span class="num pull-right">{{ v.productComCount }}</span>
          </div>
        </div>
      </div>
    {{ /each }}
  </script>

  <script src="./lib/jquery/jquery.min.js"></script>
  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./js/common.js"></script>
  <script src="./js/setHttp.js"></script>
  <script src="./js/index.js"></script>


</body>

</html>